/config/app/health/monitor//httpOptions/request/version

Configure HTTP protocol version included in HTTP header.

Use

Use to specify the HTTP protocol version that the health monitor uses for requests. For example, “HTTP/1.1”

Parameters

name: Name of health monitor

Data Key

The data key contains the version.

Data Type

string

Default Data Value

“HTTP/1.0”

Default Allowed

False

Request Methods

GET, PUT

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/request/version

GET Response

{"/config/app/health/monitor/hm-01/httpOptions/request/version": {"data": "HTTP/1.0",
                                                                   "default": False,
                                                                   "defaultAllowed": False,
                                                                   "deleteAllowed": False,
                                                                   "numChildren": 0,
                                                                   "type": "string"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/app/health/monitor/hm-01/httpOptions/request/version"}

PUT

curl -b cookie.jar –data @data.json -k -H “Content-Type: application/json” -X PUT https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/monitor/hm-01/httpOpt ions/request/version

PUT Response

{"httpResponseCode": 200,
  "requestPath": "/config/app/health/monitor/hm-01/httpOptions/request/version",
  "recurse":false}
  1. /config/app/health/monitor//httpOptions/request/version 1. Parameters 2. Data Key
    1. Data Type
    2. Default Data Value 3. Default Allowed 4. Request Methods 5. Related 6. Examples